<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>媒体</title>
</head>
<body>
<!--音频和视频
src:资源路径
controls：控制条
autoplay: 自动播放
-->

<video src="../resources/video/2.mp4" controls autoplay></video>
<!--audio和video是一样的-->
<audio src=""></audio>
</body>
</html>